{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "id": "9efee9b8",
   "metadata": {},
   "outputs": [],
   "source": [
    "import numpy as np\n",
    "import matplotlib.pyplot as plt"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "id": "aa1e27b0",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAXQAAAD4CAYAAAD8Zh1EAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8qNh9FAAAACXBIWXMAAAsTAAALEwEAmpwYAAAOXUlEQVR4nO3db6hldb3H8fcnZ/oDRkJzoGH+eAJ9UpFph0kRLlIIluI8yAsj3EopBrxJxg0u2gOlHuUTu/iHZEhJu90yVGTSkRASqgdOnZnGv5OXIbw4MuCoNSZ1i+l+74Oz7B723Xv2Omf2+bN/vF+wca31+81a39/8PB/WWXutNakqJEnT7x1rXYAkaTIMdElqhIEuSY0w0CWpEQa6JDViw1odeNOmTTU7O7tWh5ekqXTgwIHXqmpmWNuaBfrs7Czz8/NrdXhJmkpJ/mtUm5dcJKkRBrokNcJAl6RGGOiS1AgDXZIaYaBLUiPGBnqSdyf5VZKnkzyf5BtD+rwryQNJjiTZn2R2RaqVJI3U5wz9L8Anq+o84GPAZUkuHOjzReD3VXUO8G3g1olWKUkaa2yg14K3utWN3WfwJeo7gfu65QeBTyXJxKqUJI3V60nRJGcAB4BzgLuqav9Aly3AywBVdTLJCeD9wGsD+9kN7AbYvn376VWuJZm98bG1LmGqvPSty9e6BGnJen0pWlV/q6qPAVuBHUk+spyDVdWeqpqrqrmZmaGvIpAkLdOS7nKpqj8ATwKXDTS9AmwDSLIBeB/w+gTqkyT11Ocul5kkZ3XL7wEuBX470G0v8IVu+SrgZ+U/VipJq6rPNfTNwH3ddfR3AD+uqkeTfBOYr6q9wD3A95McAd4Adq1YxZKkocYGelU9A5w/ZPvNi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hvSZitdz9BzLNUmOL5qXL61FrX0kOSPJb5I8OqRt8nNSVev2A/wDcAHw3Ij2zwCPAwEuBPavdc3LHMclwKNrXWfPsWwGLuiW3wv8J/ChaZuXnuOYinnp/p7P7JY3AvuBCwf6/DNwd7e8C3hgres+jbFcA9y51rX2HM+/AP8x7P+jlZiTdX2GXlU/Z+GumVF2AvfXgqeAs5JsXp3q+usxjqlRVceq6mC3/EfgMAtPCi+27uel5zimQvf3/Fa3urH7DN7tMBWv5+g5lqmQZCtwOfDdEV0mPifrOtB7GPZagqn8oQQu6n7NfDzJh9e6mD66XxHPZ+EsarGpmpdTjAOmZF66X+0PAa8CT1TVyDmpqpPA26/nWHd6jAXgs93lvAeTbBvSvh78G/CvwP+MaJ/4nEx7oLfiIHB2VZ0H3AE8srbljJfkTOAh4KtV9eZa17NcY8YxNfNSVX+rqo+x8CT3jiQfWeOSlq3HWH4CzFbVR4En+L+z3HUjyRXAq1V1YDWPO+2B3ue1BOteVb359q+ZVbUP2Jhk0xqXNVKSjSyE4A+q6uEhXaZiXsaNY9rmBaCq/gA8CVw20DR1r+cYNZaqer2q/tKtfhf4+CqX1sfFwJVJXmLhDbWfTPLvA30mPifTHuh7gc93d1VcCJyoqmNrXdRSJfnA29fOkuxgYV7W5Q9bV+c9wOGqum1Et3U/L33GMS3zkmQmyVnd8nuAS4HfDnSbitdz9BnLwPcxV7Lw/ce6UlU3VdXWqppl4QvPn1XVPw10m/icrOrbFpcqyQ9ZuNNgU5KjwC0sfElCVd0N7GPhjoojwJ+Aa9em0lPrMY6rgOuSnAT+DOxajz9snYuBzwHPdtc5Ab4ObIepmpc+45iWedkM3JeFf4zmHcCPq+rRrO3rOZarz1i+kuRK4CQLY7lmzapdopWeEx/9l6RGTPslF0lSx0CXpEYY6JLUCANdkhphoEtSIwx0SWqEgS5Jjfhfbub2LpGPQfQAAAAASUVORK5CYII=\n",
      "text/plain": [
       "<Figure size 432x288 with 1 Axes>"
      ]
     },
     "metadata": {
      "needs_background": "light"
     },
     "output_type": "display_data"
    }
   ],
   "source": [
    "data = [1, 2, 3, 4, 2, 2, 3, 4]\n",
    "r = plt.hist(data, bins=4)\n",
    "y = r[0] # y绑定频数\n",
    "x = r[1] # x绑定频数\n",
    "plt.show()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "id": "12917026",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAX0AAAD4CAYAAAAAczaOAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8qNh9FAAAACXBIWXMAAAsTAAALEwEAmpwYAAASQElEQVR4nO3df4yl1X3f8fcnuwbHpDHgnVCyu+qumo0rYjU1mmIiWsvxNnixLS9/JBaoibcu0qotdp0S1QFXKmoiS3ZbhcSqi7RlN15UCkHYLqt0G7LFpDRSwQzEBhZwGeEfOyvwjgMmcayYYn/7xz001+OZnZ25d+6YOe+XNJrn+Z5zn+c8/3zmzLnPvU+qCklSH35kvQcgSZocQ1+SOmLoS1JHDH1J6oihL0kd2bzeAzidLVu21I4dO9Z7GJL0qvLwww9/o6qmFmv7oQ79HTt2MDMzs97DkKRXlSRfXarN5R1J6oihL0kdMfQlqSOGviR1xNCXpI4Y+pLUEUNfkjpi6EtSRwx9SerID/UncjWw4/r/tt5DGJuvfOxd6z0EqWuGvqQNM7FwUrE8l3ckqSMbeqa/UWYvkjQuzvQlqSOGviR1ZEMv70hryeVDvRo505ekjhj6ktQRl3c0US6JSOtr2Zl+kkNJTiV5fEH9g0meSnI8yb8dqt+QZDbJl5K8Y6i+p9Vmk1w/3suQJJ2JM5npfwr4D8CtrxSS/DywF/jZqvpOkp9o9YuAq4CfAX4S+B9Jfrq97JPALwBzwENJjlTVE+O6EEnS8pYN/aq6P8mOBeV/Cnysqr7T+pxq9b3AHa3+5SSzwCWtbbaqngFIckfra+hLGpuNtHy4Vl8psdo3cn8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qoNVZVN1TVtqraweArTD5XVb+8zsNaU0nOaTcn0JY4Lgc29F15VfUccCLJG1tpNzC2mzJ+6L5lcxyS3A68DdiSZA64saoOru+o1tRlwK8Aj7U1boCPVNXR9RvSmrsQONwezPMjwJ1V1cUtjJ25APjsYF7DZuC/VNUfrO+QJuKDwG3tzp1ngPeP68Ab8pZNSdLiXN6RpI4Y+pLUEUNfkjpi6EtSRwx9SeqIoS9JHTH0Jakj/w/46AFmYfIVjwAAAABJRU5ErkJggg==\n",
      "text/plain": [
       "<Figure size 432x288 with 1 Axes>"
      ]
     },
     "metadata": {
      "needs_background": "light"
     },
     "output_type": "display_data"
    }
   ],
   "source": [
    "data = np.random.randint(1, 7, 10000)\n",
    "plt.hist(data, bins=6)\n",
    "plt.show()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 16,
   "id": "1ad11303",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAX0AAAD4CAYAAAAAczaOAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8qNh9FAAAACXBIWXMAAAsTAAALEwEAmpwYAAARRklEQVR4nO3dbYyldXnH8e/PBR+itmAZKe5uOsRu26xWV7NBjH1hpcICxtWmGkirqyVZX0CiiUmzaFJ8KAnGKq2p0mzLRmxRJFXDBrbFFUmMiQoLIrIgdYpYdoPsKPgUU9rFqy/Of8xxnd2Z2TlzzuD/+0lO5r6v++m6F+Y399xPk6pCktSHp0y6AUnS+Bj6ktQRQ1+SOmLoS1JHDH1J6sgJk27gWE455ZSanp6edBuS9KRyxx13fL+qpuabtqpDf3p6mn379k26DUl6Ukny3aNN8/SOJHXE0Jekjhj6ktSRBUM/ydOT3JbkG0n2J3lvq5+e5GtJZpJ8OslTW/1pbXymTZ8eWtelrX5/knNWbK8kSfNazJH+48CrqurFwCZgS5IzgQ8AV1bV7wKPARe1+S8CH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FPqr3BVJ7klyN4PTT6viVjbgH4BnA3vb7aT/OOmGAJK8PskB4OXATUlunlQv7UL33KtF7gOuH/OrReaV5FPAV4DfT3IgyUWT7onBkeubgFe1/5/uakexk3YacGv7/rudwTn9kdweuRr5GgZJ6ohH+pLUEUNfkjpi6EtSRwx9SeqIoS9JHTH0Jakjhr4kdeT/AaTE0hLduQX4AAAAAElFTkSuQmCC\n",
      "text/plain": [
       "<Figure size 432x288 with 1 Axes>"
      ]
     },
     "metadata": {
      "needs_background": "light"
     },
     "output_type": "display_data"
    }
   ],
   "source": [
    "data = np.random.randn(10000)\n",
    "plt.hist(data, bins=10)\n",
    "plt.show()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 19,
   "id": "acef3564",
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAXgAAAD4CAYAAADmWv3KAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8qNh9FAAAACXBIWXMAAAsTAAALEwEAmpwYAAAR6ElEQVR4nO3dfZDdV13H8ffHlpYHtWlpiDUJpkoU+UOgrrWKj40PtDCkzgCWQRtrncxgfQAcseKMDo7OtOJQqaNlIgVSRKBWsBmoSC2gMmMLaWnLQ5AutTUJabMgrWIHtPL1j3tSLtt9uJu9u3dz8n7N3Lm/3/mde/e7d/d+9uy5v3tuqgpJUn++YdIFSJJWhgEvSZ0y4CWpUwa8JHXKgJekTp046QIATj/99NqyZcuky5CkY8ptt932+apaP9/xNRHwW7ZsYe/evZMuQ5KOKUnuW+i4UzSS1CkDXpI6NVLAJ1mX5Pokn06yL8kPJDktyU1J7m7Xp7a+SXJVkukkdyU5a2W/BUnSXEYdwb8eeF9VPR14JrAPuAy4uaq2Aje3fYDzgK3tshO4eqwVS5JGsmjAJzkF+BHgGoCq+p+qehDYDuxu3XYDF7Tt7cC1NXALsC7JG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frRtnwvcveoVfc2/A+ckeWL7T2cbg+WtPwi8sPXZAdwwofpg7hr3Jfkl4KeBlxyZP56guWp8XVV9y9Bz5uGqWvzsj9WtcR9DzxkGv5efmUx5wPy/j6e05zMMPm9j36L3NMFXip8EfAE4ZahtmsFSw3e0yxsmVd98Nc46fi8TPotmnsfxJOAvgU8AtwPnrsEaf4jBPPedwK3A9064xtcAn26P2VsZ/Mv+7QxeuJxm8F/GyWuwxkeAzw49Z353rdU46/hEz6JZ4HFcB7wX+DjwLwxGy2utxp9p9d0JfAj49sXux6UKJKlTk56ikSStEANekjplwEtSpwx4SeqUAS9JnTLgJalTBrwkder/Ad87U08LYKpGAAAAAElFTkSuQmCC\n",
      "text/plain": [
       "<Figure size 432x288 with 1 Axes>"
      ]
     },
     "metadata": {
      "needs_background": "light"
     },
     "output_type": "display_data"
    }
   ],
   "source": [
    "# data = np.random.randn(10000)\n",
    "plt.hist(data, bins=50)\n",
    "plt.show()"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.10.4"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
